package com.hntky.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.List;

import lombok.Data;

/**
 * 
 * @TableName t_doctor
 */
@TableName(value ="t_doctor")
@Data
public class Doctor implements Serializable {
    /**
     * 医生编号
     */
    @TableId(value = "did", type = IdType.AUTO)
    private Integer did;

    /**
     * 医生姓名
     */
    @TableField(value = "dname")
    private String dname;

    /**
     * 医生性别
     */
    @TableField(value = "dgender")
    private String dgender;

    /**
     * 医生年龄
     */
    @TableField(value = "dage")
    private String dage;

    /**
     * 职务
     */
    @TableField(value = "dpost")
    private String dpost;

    /**
     * 科室编号
     */
    @TableField(value = "sectorId")
    private String sectorid;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    @TableField(exist = false)
    private String sector;

    @TableField(exist = false)
    private List<Patient> patients;
}